{include file="pub_header.htm"}
<div class="out_table">
<table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="current_place">
  <tr>
    <td align="left" nowrap>&nbsp;
      <a href="{$lang.s._public.global.weburl}" target="_self" class="current_place">{$lang.s._public.global.website}</a>
      &raquo; <a href="{$control_index}?act=index" target="_self" class="current_place">论坛首页</a>
      &raquo; <a href="{$control_index}?act=cp" target="_self" class="current_place">会员中心</a>
    </td>
    <td align="right" nowrap>&nbsp;</td>
  </tr>
</table>
</div>

<div class="out_table"><div class="space"></div></div>
<div class="out_table">
<table width="98%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
  <tr align="left" class="block_header">
    <td colspan="2">详细资料</td>
  </tr>
  <tr>
    <td align="center" valign="top" width="20%" class="block_left">
      {include file="pub_cp_menu.htm"}
    </td>
    <td align="center" valign="top" width="80%" class="block_right">
    <table width="98%" cellpadding="3" cellspacing="0" border="0" align="center" class="current_place">
      <tr>
        <td height="20" align="left" class="current_place" nowrap>
          <a href="{$control_index}?act=cp" target="_self" class="current_place">会员中心</a>
          &raquo; <a href="{$control_index}?act=cp_detail" target="_self" class="current_place">详细资料</a>
        </td>
        <td align="right" class="current_place" nowrap>&nbsp;</td>
      </tr>
    </table>
    <div class="space"></div>
    <form id="cp_detail" name="cp_detail" method="post" action="javascript:void(null);" enctype="multipart/form-data">
    <table width="98%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
      <tr class="block_title">
        <td colspan="3" align="left">详细资料</td>
      </tr>
      <tr>
        <td width="20%" align="right" class="block_left">真实姓名</td>
        <td width="50%" align="left" valign="top" class="block_right">
          <input type="text" id="realname" name="realname" value="{$member.detail.realname}" class="input" size="42" />
        </td>
        <td width="30%" align="left" valign="top" class="block_right">
          <span id="realname_return" name="realname_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">性别:</td>
        <td align="left" valign="top" class="block_right">
          <input type="radio" id="gender" name="gender" value="1" {if $member.detail.gender == "1"}checked{/if} class="radio_y"/> 男
          <input type="radio" id="gender" name="gender" value="2" {if $member.detail.gender == "2"}checked{/if} class="radio_n"/> 女
          <input type="radio" id="gender" name="gender" value="3" {if $member.detail.gender != "1" && $member.detail.gender != "2"}checked{/if} class="radio_m"/> 保密
          </td>
        <td align="left" valign="top" class="block_right">
          <span id="gender_return" name="gender_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">生日:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="birthday" name="birthday" value="{$member.detail.birthday|date_format:'%Y-%m-%d'}" class="input" size="42" />
        </td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="birthday_return" name="birthday_return"><span class="prompt_primal">如:1981-03-17</span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">来自:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="address" name="address" value="{$member.detail.address}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="address_return" name="address_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">邮编:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="postalcode" name="postalcode" value="{$member.detail.postalcode}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="postalcode_return" name="postalcode_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">电话:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="telephone" name="telephone" value="{$member.detail.telephone}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="telephone_return" name="telephone_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">手机:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="mobile" name="mobile" value="{$member.detail.mobile}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="mobile_return" name="mobile_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">网站:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="website" name="website" value="{$member.detail.website}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="website_return" name="website_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">Gtalk:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="gtalk" name="gtalk" value="{$member.detail.gtalk}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="gtalk_return" name="gtalk_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">MSN:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="msn" name="msn" value="{$member.detail.msn}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="msn_return" name="msn_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">ICQ:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="icq" name="icq" value="{$member.detail.icq}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="icq_return" name="icq_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">QQ:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="qq" name="qq" value="{$member.detail.qq}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="qq_return" name="qq_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">Yahoo:</td>
        <td align="left" valign="top" class="block_right">
          <input type="text" id="yahoo" name="yahoo" value="{$member.detail.yahoo}" class="input" size="42" /></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="yahoo_return" name="yahoo_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">个人简介:</td>
        <td align="left" valign="top" class="block_right">
          <textarea id="bio" name="bio" rows="6" cols="64" class="textarea">{$member.detail.bio}</textarea></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="bio_return" name="bio_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td align="right" class="block_left">签名:</td>
        <td align="left" valign="top" class="block_right">
          <textarea id="sign" name="sign" rows="6" cols="64" class="textarea">{$member.detail.sign|str_entag:"space"}</textarea></td>
        <td bgcolor="#FFFFFF" class="fone">
          <span id="sign_return" name="sign_return"><span class="prompt_primal"></span></span>
        </td>
      </tr>
      <tr>
        <td colspan="3" align="center" class="block_footer">
          <input type="button" id="cp_detail_submit" name="cp_detail_submit" value="确定" class="button"
            onclick="xajax.$('cp_detail_submit').disabled=true;
                      xajax.$('cp_detail_submit').value='请等待...';
                      xajax_cp_detail(xajax.getFormValues('cp_detail'));">
        </td>
      </tr>
    </table>
    </form>
    </td>
  </tr>
</table>
</div>

{include file="pub_footer.htm"}